package com.seuic.hnapps.adapter;

import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.widget.Button;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.seuic.hnapps.R;
import com.seuic.hnapps.bean.Mx_Bean;

import java.util.List;

public class Mx_adapter extends BaseQuickAdapter<Mx_Bean, BaseViewHolder> {
    public Mx_adapter(int layoutResId, @Nullable List<Mx_Bean> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(@NonNull BaseViewHolder helper, Mx_Bean item) {
        helper.setText(R.id.mx_item_money, item.getMoney()+"");
        helper.setText(R.id.mx_item_time,   item.getTime() + "");
        helper.setText(R.id.mx_item_qd, item.getQD() + "");
        helper.setText(R.id.mx_item_zydm, item.getZydm()+"");
        helper.setText(R.id.mx_item_yue, item.getZhye()+"");
        helper.setText(R.id.mx_item_operator, item.getJyjg()+"");
        helper.setText(R.id.mx_item_num, item.getNum()+"");
        helper.setText(R.id.mx_item_name, item.getName()+"");
        Button button = helper.getView(R.id.select_subaccount_item_transitionbtn);

    }
}
